package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 意向协议单
 * </p>
 *
 * @author yjl
 * @since 2022-10-19 09:00:49
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_intention_agreement")
@ApiModel(value = "IntentionAgreement对象", description = "意向协议单")
public class IntentionAgreement extends IntentionRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value ="意向协议单主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value ="项目外键")
    @TableField("project_id")
    private Integer projectId;

    @ApiModelProperty(value ="协议名称")
    @TableField("agreement_name")
    private String agreementName;

    @ApiModelProperty(value ="房间最晚保留日")
    @TableField("dead_line")
    private Date deadLine;

    @ApiModelProperty(value ="意向金（元）")
    @TableField("earnest_money")
    private Double earnestMoney;

    @ApiModelProperty(value ="备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value ="状态（0-待审批，1-已通过，2-已撤销）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value ="起始时间")
    @TableField("start_date")
    private Date startDate;

    @ApiModelProperty(value ="结束时间")
    @TableField("end_date")
    private Date endDate;


}
